(self.webpackChunkcbg_h5_develop = self.webpackChunkcbg_h5_develop || []).push([[1568], {
    928431: function (t) {
        t.exports = {
            pointer: "pointer_nfpC1",
            root: "root_fobaC",
            highlights: "highlights_G1tPG",
            highlight: "highlight_iSRRZ",
            "min-bargain-price": "min-bargain-price_EmhwS",
            "histroy-trade-price": "histroy-trade-price_rOGWr",
            "viewer-num": "viewer-num_IyBF3",
            "viewer-collect": "viewer-collect_tOC76",
            "viewer-haggle": "viewer-haggle_XwkIT",
            "skill-highlight": "skill-highlight_WCj08",
            "wuqi-highlight": "wuqi-highlight_XsrWc",
            "highlight-text": "highlight-text_bxr2r",
            "wuqi-highlight-wrap": "wuqi-highlight-wrap_kFE1Z",
            tagLine: "tagLine_eR8b2",
            "similar-sold-price": "similar-sold-price_XQILl",
            history: "history_EJWny",
            "pi-main": "pi-main_F8LNZ",
            "fee-highlight": "fee-highlight_glUzS",
            "seller-pdg-act-wap": "seller-pdg-act-wap_j18y5",
            tips: "tips_my8Mv",
            darkmode: "darkmode"
        }
    }, 824649: function (t, i, e) {
        "use strict";
        var s = e(496718), a = e(817907);
        s(i, "__esModule", {value: !0}), i.default = void 0;
        var l = a(e(82590)), n = a(e(724278)), r = a(e(600086)), c = a(e(628222)), o = a(e(35993)), _ = a(e(874050)),
            h = e(174589), d = a(e(648490)), u = a(e(246051)), g = e(403629), p = a(e(962963));
        i.default = {
            extends: o.default,
            props: {
                isListRecommend: {type: Boolean, default: !1},
                historyData: {type: Object},
                hadExpired: {type: Boolean, default: !1},
                wuQiHighlights: {
                    type: Object, defalut: function () {
                    }
                },
                isHookEquip: {type: Boolean, defalut: !1}
            },
            components: {RoleDesc: d.default, ModuleHistory: _.default, SellerOnlineInfo: p.default},
            filters: {
                formatViewerNum: function (t) {
                    if (t < 1e3) return t;
                    var i = (t / 1e3).toFixed(1);
                    return (0, l.default)(i).call(i, ".0") && (i = (0, n.default)(i).call(i, 0, -2)), i + "k"
                }
            },
            computed: {
                activityFees: function () {
                    var t;
                    return (null === (t = this.data) || void 0 === t ? void 0 : t.can_grab_seller_activity) || 0
                }, feesTagList: function () {
                    var t = [], i = this.data || {};
                    return i.can_grab_ai_trade_discount && t.push("可领优惠"), i.can_grab_seller_activity && t.push("可领红包"), i.seller_activity_discount_amount && t.push("红包优惠".concat((0, g.fenToYuan)(i.seller_activity_discount_amount), "元")), t
                }, isShowActivityFees: function () {
                    return this.feesTagList.length
                }, showDescSumup: function (t) {
                    var i = t.data;
                    return this.desc_sumup && i.storage_type === h.PRODUCT_TYPE.ROLE
                }, isRole: function () {
                    return this.data.storage_type === h.PRODUCT_TYPE.ROLE
                }, skillHighlight: function (t) {
                    var i, e = t.data;
                    return (null == e || null === (i = e.role_sumup_info) || void 0 === i ? void 0 : i.basic_highlights) || null
                }, showLifeSkill: function (t) {
                    var i = t.data, e = t.skillHighlight, s = !0;
                    return !(!e || !e.life_skill) && (i.highlight && i.highlight.length && i.highlight.each((function (t) {
                        t[0] === "辅助技能".concat(e.life_skill, "个满") && (s = !1)
                    })), s)
                }, schoolSkillLength: function (t) {
                    var i, e = t.data, s = 0;
                    return (0, r.default)(i = (0, c.default)(e.full_level_school_skill || {})).call(i, (function (t) {
                        e.full_level_school_skill[t].is_full_level && s++
                    })), s
                }, aigcDiscountDisplay: function () {
                    var t = this.data.aigc_discount_info || {};
                    if ((!this.hadExpired || "seller_activity" === t.discount_type) && t.status === u.default.NOT_GRABBED) {
                        var i = t.amount, e = t.discount_type;
                        if ("cross_server" === e) return {discountDesc: "领优惠再减", extText: "跨服费", amount: i};
                        if ("fair_show" === e) return {discountDesc: "领", extText: "公示期预订优惠", amount: i}
                    }
                    return null
                }, listHistoryData: function (t) {
                    var i, e = t.data, s = null;
                    return this.isListRecommend ? (null == e || null === (i = e.history_trade_list) || void 0 === i || (0, r.default)(i).call(i, (function (t) {
                        t.pay_time && (s = {sale_days: t.sale_days, times: e.history_trade_times, sale_text: "较好"})
                    })), s) : s
                }
            }
        }
    }, 91816: function (t, i, e) {
        "use strict";
        e.r(i);
        var s = e(692240), a = e(476735), l = {};
        for (var n in a) "default" !== n && (l[n] = function (t) {
            return a[t]
        }.bind(0, n));
        e.d(i, l);
        var r = e(928890), c = e(551900);
        t = e.hmd(t);
        var o = {};
        t.hot, t.hot;
        var _ = (0, c.Z)(a.default, s.s, s.x, !1, (function (t) {
            o.$style = r.default.locals || r.default, Object.defineProperty(this, "$style", {
                configurable: !0,
                get: function () {
                    return o.$style
                }
            })
        }), null, null);
        _.options.__file = "xyq/develop/page/activities/ai-trade/v4/module/product-item.vue", i.default = _.exports
    }, 928890: function (t, i, e) {
        "use strict";
        var s = e(928431), a = e.n(s);
        i.default = a()
    }, 476735: function (t, i, e) {
        "use strict";
        e.r(i);
        var s = e(824649), a = e.n(s), l = {};
        for (var n in s) "default" !== n && (l[n] = function (t) {
            return s[t]
        }.bind(0, n));
        e.d(i, l), i.default = a()
    }, 692240: function (t, i, e) {
        "use strict";
        e.d(i, {
            s: function () {
                return s
            }, x: function () {
                return a
            }
        });
        var s = function () {
            var t = this, i = t.$createElement, e = t._self._c || i;
            return e("div", {
                staticClass: "list-item list-item-link product-item js_product_item",
                class: t.$style.root,
                on: {click: t.onclick}
            }, [e("div", {
                staticClass: "pi-main",
                class: t.$style["pi-main"],
                attrs: {slot: "default"},
                slot: "default"
            }, [e("div", {staticClass: "thumb-wrap"}, [e("div", {class: ["thumb", t.$style.thumb]}, [e("img", {
                staticClass: "ico js_ico",
                attrs: {src: t.data.icon}
            }), t.data.equip_tags && t.data.equip_tags.length > 0 ? e("span", {staticClass: "thumb-tags"}, [t._v(t._s(t.data.equip_tags[0]))]) : t._e()]), t.isShowTimeLock ? e("span", {staticClass: "trans-time icon-trans-time"}) : t._e()]), e("div", {staticClass: "pi-cnt"}, [e("div", {staticClass: "title"}, [t.isShowTimeLock ? e("i", {staticClass: "icon icon-trans-lock"}) : t._e(), t.data.is_split_sale ? e("i", {
                staticClass: "icon",
                class: {"icon-chai": t.data.is_split_independent_role, "icon-zheng": t.data.is_split_main_role}
            }) : t._e(), 0 !== t.data.pass_fair_show || t.isXianzhi ? t._e() : e("i", {staticClass: "icon icon-publicity "}), t.data.accept_bargain && !t.isXianzhi ? e("i", {staticClass: "icon icon-bargin "}) : t._e(), t.data.is_show_alipay_privilege ? e("i", {staticClass: "icon icon-alipay-tag"}) : t._e(), t.isMoney ? e("span", {staticClass: "name"}, [t._v(t._s(t.data.subtitle))]) : [e("span", {
                staticClass: "name",
                class: {"name-tof": t.isShowTryonEntry(t.data), "more-short": t.data.price > 1e7}
            }, [t._v(t._s(t.data.format_equip_name || t.data.equip_name))]), t.subtitle ? e("span", {staticClass: "level"}, [t._v(t._s(t.subtitle))]) : t._e()], t.isListRecommend ? t._e() : e("div", {staticClass: "server f-right"}, [t._v("\n          " + t._s(t.data.server_name) + "\n        ")])], 2), t.showDescSumup && t.isListRecommend ? e("div", {staticClass: "attr tof"}, [t._v(t._s(t.desc_sumup))]) : t._e(), t.isShowPriceInfo && !t.isListRecommend ? e("div", {staticClass: "flex align-center"}, [e("Price", {
                staticClass: "mtb-small nowrap",
                class: {"price-del": t.bargainPrice || t.data.valid_cheapest_price},
                attrs: {data: t.data, isOrderList: t.isOrderList, isPreviewOrder: t.isPreviewOrder}
            }), t.isShowBuyerFee && t.buyer_fee_list.length && !t.isListRecommend ? e("div", {staticClass: "cross_fee"}, [e("BuyerFeeList", {
                staticClass: "color-red",
                attrs: {
                    isNeedCombineFee: t.buyer_fee_list.length > 1,
                    feeList: t.buyer_fee_list,
                    discountDesc: t.discountDesc
                }
            })], 1) : t._e()], 1) : t._e()]), t.isListRecommend ? e("div", {staticClass: "pi-info"}, [e("div", {staticClass: "server"}, [t._v("\n        " + t._s(t.data.server_name) + "\n      ")]), t.isShowPriceInfo ? e("Price", {
                staticClass: "mtb-small nowrap",
                class: {"price-del": t.bargainPrice || t.data.valid_cheapest_price},
                attrs: {data: t.data, isOrderList: t.isOrderList, isPreviewOrder: t.isPreviewOrder}
            }) : t._e()], 1) : t._e()]), t.showDescSumup && !t.isListRecommend ? e("div", {staticClass: "flex align-center wrap"}, [t._v(t._s(t.desc_sumup))]) : t._e(), e("div", {
                staticClass: "flex align-center wrap",
                class: t.$style.highlights
            }, [e("span", {class: t.isListRecommend && t.$style["highlight-text"]}, [t.isListRecommend ? [e("SellerOnlineInfo", {attrs: {data: t.data}}), t._l(t.data.highlight, (function (i, s) {
                return e("span", {key: s, class: t.$style.highlight}, [t._v(t._s(i[0]))])
            }))] : t._e(), e("span", {class: t.$style.tagLine}, [t.data._history_trade_price ? e("span", {
                class: [t.$style["histroy-trade-price"], t.$style.highlight],
                attrs: {stat: "cid:uhpl53w1;text:" + t.view_loc + ";game_ordersn:" + t.data.game_ordersn},
                on: {
                    click: function (i) {
                        return i.stopPropagation(), t.$emit("gotoHistoryTrade")
                    }
                }
            }, [t._v("\n        上次成交价￥" + t._s(t._f("fenToYuan")(t.data._history_trade_price)) + "\n      ")]) : t._e(), t.data._similar_sold_label ? e("span", {class: [t.$style["histroy-trade-price"], t.$style["similar-sold-price"], t.$style.highlight]}, [t._v("\n        " + t._s(t.data._similar_sold_label) + "\n      ")]) : t._e(), t.data.min_bargain_price ? e("span", {class: [t.$style["min-bargain-price"], t.$style.highlight]}, [t._v("\n        已接受还价￥" + t._s(t._f("fenToYuan")(t.data.min_bargain_price)) + "\n      ")]) : t._e(), t.isShowPopularity ? e("span", {
                staticClass: "viewing-popularity nowrap",
                class: [t.$style["viewer-num"], t.$style.highlight]
            }, [t._v("\n        " + t._s(t._f("formatViewerNum")(t.data.viewer_num)) + "人在看\n      ")]) : t._e(), t.data.collect_num ? e("span", {
                staticClass: "viewing-popularity",
                class: [t.$style["viewer-collect"], t.$style.highlight]
            }, [t._v("\n        " + t._s(t._f("formatViewerNum")(t.data.collect_num)) + "人收藏\n      ")]) : t._e(), t.data.haggle_num ? e("span", {
                staticClass: "viewing-popularity",
                class: [t.$style["viewer-haggle"], t.$style.highlight]
            }, [t._v("\n        " + t._s(t._f("formatViewerNum")(t.data.haggle_num)) + "人还价\n      ")]) : t._e()])], 2), t.isListRecommend ? t._e() : e("SellerOnlineInfo", {attrs: {data: t.data}}), t.aigcDiscountDisplay ? e("BuyerFeeList", {
                class: ["color-red", t.$style["fee-highlight"]],
                attrs: {
                    feeList: [{display_mode: 1}],
                    discountDesc: t.aigcDiscountDisplay.discountDesc,
                    amount: t.aigcDiscountDisplay.amount,
                    extText: t.aigcDiscountDisplay.extText,
                    onlyDiscount: !0
                }
            }) : t._e(), t.activityFees ? e("div", {class: t.$style["seller-pdg-act-wap"]}, [e("p", {
                staticClass: "color-red pr-small fz-tiny mb-tiny",
                class: t.$style.sellerPdgFees
            }, [e("span", {
                staticClass: "plr-small",
                class: t.$style.tips
            }, [t._v("限时")]), t._v("\n        可领" + t._s(t._f("money")(t.activityFees)) + "卖家红包\n      ")])]) : t._e(), t.isListRecommend ? t._e() : [t._l(t.data.highlight, (function (i, s) {
                return e("span", {key: s, class: t.$style.highlight}, [t._v(t._s(i[0]))])
            })), t.schoolSkillLength ? e("span", {class: [t.$style.highlight, t.$style["skill-highlight"]]}, [t._v("师门技能" + t._s(t.schoolSkillLength) + "个满")]) : t._e(), t.showLifeSkill ? e("span", {class: [t.$style.highlight, t.$style["skill-highlight"]]}, [t._v("生活技能" + t._s(t.skillHighlight.life_skill) + "个满")]) : t._e(), t.isRole ? e("RoleDesc", {
                staticClass: "pointer",
                attrs: {isListRecommend: t.isListRecommend, data: t.data}
            }) : t._e()]], 2), t.wuQiHighlights && t.wuQiHighlights[t.data.eid] ? e("div", {
                staticClass: "flex align-center wrap",
                class: [t.$style.highlights, t.$style["wuqi-highlight-wrap"]],
                attrs: {id: t.isHookEquip ? "aitrade-hook-equip" : ""}
            }, t._l(t.wuQiHighlights[t.data.eid], (function (i, s) {
                return e("span", {
                    key: s,
                    class: [t.$style.highlight, t.$style["wuqi-highlight"]]
                }, [t._v(t._s(t.wuQiHighlights[t.data.eid][s]))])
            })), 0) : t._e(), t.historyData || t.listHistoryData ? e("ModuleHistory", {
                class: t.$style.history,
                attrs: {
                    data: t.historyData || t.listHistoryData,
                    isListRecommend: t.isListRecommend,
                    storage_type: t.data.storage_type
                }
            }) : t._e()], 1)
        }, a = [];
        s._withStripped = !0
    }
}]);